package com.jmlee.service.impl;

import com.jmlee.mapper.UserAddressMapper;
import com.jmlee.pojo.UserAddress;
import com.jmlee.service.UserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author jmLee
 * @Date 2021/3/11 23:43
 * @Version 1.0
 */
@Service
public class UserAddressServiceImpl implements UserAddressService {

    @Autowired
    private UserAddressMapper userAddressMapper;

    @Override
    public UserAddress getUserAddressById(Long id) {

        return userAddressMapper.selectAddressById(id);
    }
}
